package cn.jiyun.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;

@AllArgsConstructor
@NoArgsConstructor
@ToString
@Data
//营销设置里面的单独设置 佣金设置
@TableName(value = "product_settings_gold")
public class SettingsGold {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer goldId;
    @TableField("gold_img")
    private String goldImg;
    @TableField("gold_soldl_price")
    private BigDecimal goldSoldlPrice;
    @TableField("gold_costl_price")
    private BigDecimal goldCostlPrice;
    @TableField("gold_original_price")
    private BigDecimal goldParentPrice;
    @TableField("gold_one_rebate")
    private BigDecimal goldOneRebate;
    @TableField("gold_two_rebate")
    private BigDecimal goldTwoRebate;
}
